{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "2982e562",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "课程表\n",
      "礼拜一\n",
      "12:50-14:20 写作训练\n"
     ]
    }
   ],
   "source": [
    "print(\"课程表\")\n",
    "import datetime\n",
    "time = datetime.datetime.today().weekday()\n",
    "week_time = int(time)\n",
    "\n",
    "if week_time==1:\n",
    "    print(\"礼拜一\")\n",
    "    print(\"12:50-14:20 写作训练\");\n",
    "elif week_time==2:\n",
    "    print(\"礼拜二\")\n",
    "    print(\"10:35-12:00 广告学概论 罗娟1—401\");\n",
    "    print(\"中午休息\");\n",
    "    print(\"14:30-16:50 网站运营与管理 胡美香3实304\");\n",
    "    print(\"18:45-20:10 大学英语（三）B1班 王金妮10—302\");\n",
    "elif week_time==3:    \n",
    "    print(\"礼拜三\")\n",
    "    print(\"早八\")\n",
    "    print(\"08:00-09:30 足球 陈盛涛东区田径场大足球场\");\n",
    "    print(\"中午休息\");\n",
    "    print(\"18:45-20:10 中西方哲学社会科学研究 卢诗杰9-301\");\n",
    "elif week_time==4:\n",
    "    print(\"礼拜四\")\n",
    "    print(\"09:45-12:00 Python语言 许智超 新综合楼612\");\n",
    "    print(\"中午休息\");\n",
    "    print(\"14:30-15:55 广告文案写作 罗希1-303 \");\n",
    "    print(\"16:10-17:35 大学英语（三）B1班 王金妮10—302\");\n",
    "    print(\"18:45-20:55 毛概论 张锦标9-201\");\n",
    "elif week_time==5:\n",
    "    print(\"礼拜五\")\n",
    "    print(\"09:45-12:00 创业基础(实践) 张保磊1-402\");\n",
    "    print(\"14:30-15:55 毛概论(实践)\");\n",
    "else:\n",
    "    print(\"本周结束\");"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "f7a60e19",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
